import request from '@/utils/request'

// 查询单配置java增强列表
export function listOnlCgformEnhanceJava(query) {
  return request({
    url: '/java/onlCgformEnhanceJava/list',
    method: 'get',
    params: query
  })
}

// 查询单配置java增强详细
export function getOnlCgformEnhanceJava(id) {
  return request({
    url: '/java/onlCgformEnhanceJava/' + id,
    method: 'get'
  })
}

// 保存单配置java增强
export function saveOnlCgformEnhanceJava(data) {
  return request({
    url: '/java/onlCgformEnhanceJava/save',
    method: 'post',
    data: data
  })
}

// 删除单配置java增强
export function delOnlCgformEnhanceJava(id) {
  return request({
    url: '/java/onlCgformEnhanceJava/' + id,
    method: 'delete'
  })
}

// 导出单配置java增强
export function exportOnlCgformEnhanceJava(query) {
  return request({
    url: '/java/onlCgformEnhanceJava/export',
    method: 'get',
    params: query
  })
}

// 查询单配置java增强详细
export function getListByFormId(id) {
  return request({
    url: '/java/onlCgformEnhanceJava/getListByFormId?headId=' + id,
    method: 'get'
  })
}
